import 'package:bxultimate/data/request/shop_request.dart';
import 'package:get/get.dart';

import 'state.dart';

class HonourCardIndexController extends GetxController {
  final HonourCardIndexState state = HonourCardIndexState();

  @override
  void onInit() {
    // TODO: implement onInit
    super.onInit();
    getData();
  }

  void getData() async {
    state.honourCard = await ShopRequest.getMyShopElectronIdcard();
    print(state.honourCard.toJson());
  }
}
